//
//  YFNavigationTopView.h
//  QuanJieShopProject
//
//  Created by apple on 2018/4/2.
//  Copyright © 2018年 apple. All rights reserved.
//

// 顶部红色导航栏, 不用系统的
#import <UIKit/UIKit.h>
@class YFSearchBar;

@interface YFNavigationTopView : UIView


@property (nonatomic, strong) YFSearchBar *searchBar; // 顶部搜索栏

@property (nonatomic, strong) UIButton *leftBtn;

@property (nonatomic, strong) UIButton *rightBtn;

@property (nonatomic, copy) void (^rightBtnClick)(void);

@property (nonatomic, copy) void (^leftBtnClick)(void);

@property (nonatomic, copy) void (^textFieldClick)(void);

@property (nonatomic, copy) void (^codeClick)(void);

// 更新右边"个人中心"图片(这个会慢慢废弃)
- (void)updateCircleImage;

@property (nonatomic, assign) BOOL hiddenLeftButton;
@property (nonatomic, assign) BOOL hiddenRightButton;


@end
